<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import = "munyorderweb_DB.Change_Bean"%>
<%@ page import = "java.util.*"%>
<%
	ArrayList<Change_Bean> list = (ArrayList<Change_Bean>)request.getAttribute("Menu_conf");
	Change_Bean change = null;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>確認画面</title>

		<!-- スタイルシートの適用 -->
		<LINK REL="stylesheet" TYPE="text/css" HREF="CSS/style.css">
	</head>
	<body>
	<div>変更を確定します。よろしいですか？</div>
<br>
		<font size="6">
			<table border="2">
				<tr bgcolor="#dcdcdc">
					<td>メニュー番号</td>
					<td>メニュー名</td>
					<td width="200">値段</td>
					<td>カテゴリーナンバー</td>
				</tr>
				<% for(int i=0; i < list.size(); i++){
					change = list.get(i);%>
					<tr>
						<td>
							<%= change.getMenu_no() %>
						</td>
						<td>
							<%= change.getMenu_name() %>
						</td>
						<td>
							<%= change.getMenu_price() %>
						</td>
						<td>
							<%= change.getCategory_no() %>
						</td>
					</tr>
					<% }%>
			</table>
		<br>

		<font size="20">
			<table>
				<tr>
					<th>
						<form action="Menu_change" method="Post">
							<input type="submit" name="Yes" value="はい"
								style="WIDTH: 400px; HEIGHT: 30px">
						</form>
					</th>
				</tr>
				<tr>
					<th>
						<form action="Category_choise" method="Post">
							<input type="submit" value="いいえ"
								style="WIDTH: 400px; HEIGHT: 30px">
						</form>
					</th>
				</tr>
			</table>
		</font>
	</body>
</html>